package org.jeecg.modules.gwcjava.jiekou.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class MlccUserInfo implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.ID_WORKER_STR)
    private java.lang.Integer id;
    /**
     * 工号
     */
    @Excel(name = "工号", width = 15)
    private java.lang.String workNumber;
    /**
     * 登录账号
     */
    @Excel(name = "登录账号", width = 15)
    @ApiModelProperty(value = "登录账号")
    private java.lang.String username;
    /**
     * 密码
     */
    @Excel(name = "密码", width = 15)
    private java.lang.String password;
    /**
     * 支付密码
     */
    @Excel(name = "支付密码", width = 15)
    private java.lang.String payPassword;
    /**
     * 密码盐
     */
    @Excel(name = "密码盐", width = 15)
    private java.lang.String salt;
    /**
     * token
     */
    @Excel(name = "token", width = 15)
    private java.lang.String token;
    /**
     * 真实姓名
     */
    @Excel(name = "真实姓名", width = 15)
    private java.lang.String realname;
    /**
     * 身份证
     */
    @Excel(name = "身份证", width = 15)
    private java.lang.String idcard;
    /**
     * 身份证正面照
     */
    @Excel(name = "身份证正面照", width = 15)
    private java.lang.String idcardFrontImg;
    /**
     * 身份证反面照
     */
    @Excel(name = "身份证反面照", width = 15)
    private java.lang.String idcardBackImg;
    /**
     * 头像
     */
    @Excel(name = "头像", width = 15)
    private java.lang.String headPortrait;
    /**
     * 门店id
     */
    @Excel(name = "门店id", width = 15)
    private java.lang.String storeId;
    /**
     * 公司编码
     */
    @Excel(name = "公司编码", width = 15)
    private java.lang.String companyOrgcode;
    /**
     * 电话
     */
    @Excel(name = "电话", width = 15)
    private java.lang.String phone;
    /**
     * 邮箱
     */
    @Excel(name = "邮箱", width = 15)
    private java.lang.String email;
    /**
     * 性别:0默认无，1男，2女
     */
    @Excel(name = "性别", width = 15)
    private java.lang.Integer sex;
    /**
     * 年龄
     */
    @Excel(name = "年龄", width = 15)
    private java.lang.Integer age;
    /**
     * 生日
     */
    @Excel(name = "生日", width = 15)
    private java.lang.String birthday;
    /**
     * 账户余额
     */
    @Excel(name = "账户余额", width = 15)
    private java.lang.String accountBalance;
    /**
     * 今日消费
     */
    @Excel(name = "今日消费", width = 15)
    private java.lang.String todayConsumer;
    /**
     * 月结额度
     */
    @Excel(name = "月结额度", width = 15)
    private java.lang.String monthLines;
    /**
     * 地址
     */
    @Excel(name = "地址", width = 15)
    private java.lang.String address;
    /**
     * 状态：默认0正常，1禁用或冻结，2假删除
     */
    @Excel(name = "状态：默认0正常，1禁用或冻结，2假删除", width = 15)
    private java.lang.Integer status;
    /**
     * 是否月结：默认0不是月结，1月结
     */
    @Excel(name = "是否月结：默认0不是月结，1月结", width = 15)
    private java.lang.Integer isMonth;
    /**
     * 身份：默认0员工，店长
     */
    @Excel(name = "身份：默认0员工，店长", width = 15)
    private java.lang.Integer identity;
    /**
     * 备注
     */
    @Excel(name = "备注", width = 15)
    private java.lang.String remark;

    /**
     * 身份编码
     */
    private java.lang.String orgCode;

    /**
     * 品牌标
     */
    @Excel(name = "品牌标", width = 15)
    private java.lang.String brandLabels;
    /**
     * 最后登录时间
     */
    @Excel(name = "最后登录时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date lostLoginTime;
    /**
     * 创建日期
     */
    @Excel(name = "创建日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date createTime;
    /**
     * 更新日期
     */
    @Excel(name = "更新日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date updateTime;

    /**
     * 最后退出时间
     */
    @Excel(name = "退出登录时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date leaveOutTime;

    /**
     * 用户折扣
     */
    private String discount;

    /**
     * 剩余额度
     */
    private BigDecimal remainingLimit;

    /**
     * 抵扣额度
     */
    private BigDecimal deductionLimit;

    /**
     * 负债额度
     */
    private BigDecimal debtLimit;

    /**
     * 未开票金额
     */
    private BigDecimal noenterMoney;


    @TableField(exist = false)
    private java.lang.String showpwd;//解密出来的密码

    /**
     * 公司的名称
     */
    @TableField(exist = false)
    private java.lang.String companyId;
    @TableField(exist = false)
    private java.lang.String companyName;
    @TableField(exist = false)
    private java.lang.String companyAvatar;
    @TableField(exist = false)
    private java.lang.String companyCode;
    @TableField(exist = false)
    private java.lang.String aboutPerson;
    @TableField(exist = false)
    private java.lang.String aboutPhone;
    @TableField(exist = false)
    private java.lang.String storeName;//门店名称
    @TableField(exist = false)
    private java.lang.String companyuserId;

    @TableField(exist = false)
    private java.lang.String shengyuMoeny;
    @TableField(exist = false)
    private java.lang.String dikouMoeny;
    @TableField(exist = false)
    private java.lang.String fuzaiMoeny;

}
